package com.cjhstudy.mall.service;

import com.cjhstudy.mall.form.ShippingForm;
import com.cjhstudy.mall.vo.ResponseVo;
import com.github.pagehelper.PageInfo;

import java.util.Map;

/**
 * @author: phil
 * @ProjectName: mall
 * @Date: 2021/12/10
 */
public interface IShippingService {

    ResponseVo<Map<String,Integer>> add(Integer uid, ShippingForm form);

    ResponseVo delete(Integer uid,Integer shippingId);

    ResponseVo update(Integer uid,Integer shippingId,ShippingForm form);

    ResponseVo<PageInfo> list(Integer uid, Integer pageNum, Integer pageSize);

}
